package com.dataSructure.list.linked.roundLined;

public class RoundLinkedNode {

    public int id;
    public RoundLinkedNode next;


    public int getId() {
        return id;
    }

    public void setNext(RoundLinkedNode next) {
        this.next = next;
    }

    public void setId(int id) {
        this.id = id;
    }

    public RoundLinkedNode getNext() {
        return next;
    }

    public RoundLinkedNode(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "RoundLinkedNode{" +
                "id=" + id +
                '}';
    }
}
